graph integration: Import and export networks from the graph package
Description
Convert bn and bn.fit objects to graphNEL and
graphAM objects and vice versa.
Usage
## S3 method for class 'graphNEL':
as.bn(x)
## S3 method for class 'graphAM':
as.bn(x)
## S3 method for class 'bn':
as.graphNEL(x)
## S3 method for class 'bn.fit':
as.graphNEL(x)
## S3 method for class 'bn':
as.graphAM(x)
## S3 method for class 'bn.fit':
as.graphAM(x)